package com.zero.qth.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 配置表对象 property
 *
 * @author cai-xu-kun
 * @date 2025-09-27
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Property extends BaseEntity {
    /** 键 */
    @Excel(name = "键")
    private String theKey;

    /** 值 */
    @Excel(name = "值")
    private String theValue;

    /** 配置类型（0单个值 1对象值 2列表值） */
    @Excel(name = "配置类型", readConverterExp = "0=单个值,1=对象值,2=列表值")
    private Integer type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
